package model

import (
	"time"
)

type AuCustom struct {
	Id         int       `xorm:"not null pk autoincr INT(10)"`
	Uid        int       `xorm:"not null default 0 INT(11)"`
	EmpId      int       `xorm:"not null default 0 INT(11)"`
	MbrandId   int       `xorm:"not null default 0 INT(11)"`
	BrandId    int       `xorm:"not null default 0 INT(11)"`
	SeriesId   int       `xorm:"not null default 0 INT(11)"`
	ProvinceId int       `xorm:"not null default 0 INT(11)"`
	CityId     int       `xorm:"not null default 0 INT(11)"`
	CarInfo    string    `xorm:"VARCHAR(500)"`
	Name       string    `xorm:"VARCHAR(100)"`
	Phone      string    `xorm:"not null VARCHAR(20)"`
	Sex        int       `xorm:"not null default 0 TINYINT(4)"`
	Budget     int       `xorm:"default 1 TINYINT(4)"`
	Addr       string    `xorm:"VARCHAR(255)"`
	CarType    int       `xorm:"default 1 TINYINT(4)"`
	Comefrom   int       `xorm:"not null default 1 TINYINT(4)"`
	Remark     string    `xorm:"VARCHAR(128)"`
	Status     int       `xorm:"not null default 1 TINYINT(4)"`
	CustomTime time.Time `xorm:"not null DATETIME"`
	CreatedAt  time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
